const exec = require("child_process").exec;
const cmdStr = "ls -l";
exec(cmdStr, function (err, stdout, srderr) {
    if (err) {
        console.log(srderr);
    } else {
        console.log(stdout);
    }
});
